package com.employee.mapper;

import com.employee.pojo.dto.StarffScheduleDTO;
import com.employee.pojo.entry.Leave;
import com.employee.pojo.entry.LeaveType;
import com.employee.pojo.vo.StaffScheduleVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface LeaveMapper {

    //LeaveTypeMapper
    List<LeaveType> getLeave();

    void addLeave(LeaveType leave);

    void updateLeave(LeaveType leave);

    void deleteLeave(int id);
    //LeaveMapper
    List<Leave> getLeaveList();
}
